package week7;

public class TestCar extends Car{
    public TestCar(String color, String brand, int wheels) {
        super(color, brand, wheels); // 调用父类构造函数
    }
    public static void main(String[] args) {

        final TestCar car = new TestCar("blue","小米MI",4);
        car.move();
        car.person();
        car.introduce();
        car.price();
    }
    public void price()
    {

        System.out.println("售价:21.59W");
    }
}
